<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021/7/27
  Time: 14:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Vue练习</title>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/vue-2.6.12.js"></script>
</head>
<body>
    <div id="add"><h1>{{str}}</h1>
    <script>
        let s="hello world";

        let vm=new Vue({
            el :"#add",
            data:{
                str:s
            }
        })

    </script>
    </div>
</body>
</html>
